﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Inovout.Models
{
    public class DataObjectTreeSet<TModel> : DataObjectSet<TModel>, IDataObjectTreeSet<TModel>
    {
  
        public DataObjectTreeSet(TModel parent)
        {
            Parent = parent;
            Children = new DataObjectTreeSet<TModel>(parent);
        }
        public TModel Parent
        {
            get;
            private set;
        }

        public IDataObjectTreeSet<TModel> Children
        {
            get;
            private set;
        }



    }
}
